#ifndef DOCK_H
#define DOCK_H
#include <QModelIndex>
#include <QtGui>
#include <QWidget>
#include "videoplayer.h"
#include "networkcommunicator.h"

class Dock : public QWidget
{
    Q_OBJECT

    public:
        explicit Dock(QWidget *parent = 0);

    signals:
        void playlistClicked(QString);
        void searchRequested(QString);

    public slots:
        void searchClicked();
        void addPlaylist(QString);
        void playlistClicked(QListWidgetItem*);

    private:
        QLineEdit* searchEdit;
        QToolButton* searchButton;
        QListWidget* playlists;

};

#endif // DOCK_H
